﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DiscoveryLogic.Analytics.DataObjects.Rules
{
    public class RulesByType
    {
        private RuleType _RuleType;
        /// <summary></summary>
        public RuleType RuleType
        {
            get
            {
                return this._RuleType;
            }
            set
            {
                this._RuleType = value;
            }
        }

        private List<RuleBase> _Rules;
        /// <summary></summary>
        public List<RuleBase> Rules
        {
            get
            {
                return this._Rules;
            }
            set
            {
                this._Rules = value;
            }
        }

        public RulesByType()
        {
            this._RuleType = RuleType.Import;
            this._Rules = new List<RuleBase>();
        }

        public RulesByType(RuleType ruleType, List<RuleBase> rules)
        {
            this._RuleType = ruleType;
            this._Rules = rules;
        }
    }
}
